package com.lzq.springblog.dao;


import com.lzq.springblog.model.CommentInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CommentInfoMapper {
    List<CommentInfo> queryAllCommentsByBlogId(Integer blogId);

    Integer queryUserCommentCountsById(Integer userId, Integer blogId);

    Integer insertComment(CommentInfo commentInfo);
}
